class ListStoreFake(list):
    def __init__(self):
        self.last_saved = None

    def save(self):
        self.last_saved = self[:]

class DictionaryStoreFake(dict):
    def __init__(self):
        self.last_saved = None

    def save(self):
        self.last_saved = self.copy()
